#include "ConnectNPlayer.h"
#include "ProbCalculator.h"

class MinimaxingConnectNPlayer: public ConnectNPlayer {
  public:
	MinimaxingConnectNPlayer(int, int, int, int);
	int calcMove();

	protected:
	  long int step;
	  int depth;
	  //ProbCalculator pc;

	  //float calcNextMinimaxValue(int, bool, int);
	  float calcMinimaxValue(bool, int, int);
	  float calcMinimaxValue2(int, bool, int, int);
	  float calcProbabilityToBuildAtLeastOneLine(int);
	  float calcHeuristic(int, bool);
};
